<template>
  <div class="home">
    <img alt="queoj" src="/src/assets/queoj.svg" class="g-main-logo"/>
    <h1 class="g-main-title">欢迎来到QueOJ</h1>
    <h2 class="g-main-subtitle">——  专注于程序员成长的平台</h2>
    <main class="m-main">
      <el-button type="primary" class="m-main-btn" @click="$goRoute('/problems')">立即开始</el-button>
     <a href="https://github.com/j128919965" target="_blank"> <el-button type="info" class="m-main-btn">关于我们</el-button></a>
    </main>
  </div>
</template>

<script>
export default {
  name: "Index"
}
</script>

<style scoped>
.home{

  width: 1000px;
  max-width: 100%;
  margin:150px auto 0 auto;
}

.g-main-logo{
  width: 429px;
  height: 140px;
}

.g-main-title{
  margin-top: 50px;
  font-size: 48px;
}

.g-main-subtitle{
  margin: 50px 0;
}

.m-main{
  display: flex;
  width: 380px;
  justify-content: space-around;
  margin: auto;
}
</style>